<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>类型的判断</title>
		<script>
			//var a=0.5;      float a=0.5f;
			//var a="哈哈哈";        String a="哈哈";
			//var a=false;       
			//var type = typeof(a);
			//alert(type);
			/*
			var date = new Date();
			var day = day.getDay();
			var month = date.getMonth();
			var hour = date.getHours();
			alert(month+"-"+day+"-"+hour);
			*/
			//var a = "123123";
			//转到哪里有错误哪里停止
			//var newA = Number(a);
			//var newA = a.parseInt();
			//alert(typeof(newA)+newA);
			
			
		</script>
	</head>
	<body>
	</body>
</html>
